package com.hrm.dao;

import java.util.List;
import java.util.Map;
import com.hrm.entity.RsTrainingRecord;

public interface RsTrainingRecordMapper {

	public int deleteRsTrainingRecordById(long id);

	public RsTrainingRecord selectRsTrainingRecordById(long id);

	public List<RsTrainingRecord> selectRsTrainingRecordByMap(Map<String,Object> map);

	public List<RsTrainingRecord> selectRsTrainingRecord(RsTrainingRecord rsTrainingRecord);

	public List<RsTrainingRecord> selectAllRsTrainingRecord();

	public int insertRsTrainingRecord(RsTrainingRecord rsTrainingRecord);

	public int updateRsTrainingRecord(RsTrainingRecord rsTrainingRecord);

	public int deleteRsTrainingRecord(RsTrainingRecord rsTrainingRecord);

	public int updateRsTrainingRecordByMap(Map<String,Object> map);

	public int deleteRsTrainingRecordByMap(Map<String,Object> map);
	public int getAllRsTrainingRecordCounts();
	public int getRsTrainingRecordCounts(RsTrainingRecord rsTrainingRecord);
	public int getRsTrainingRecordCountsByMap(Map<String,Object> map);
}
